ARD2  1.00 for Rev B. Hardware
Airbag Reference Demonstrator using MPC5604P
FCU.c File Reference

Fault Collection Unit driver. More...

#include "derivative.h"
#include "FCU.h"

Functions

uint8_t u8fnFCUInit (FCUConfig_t *ptMyConfig)
 Initializes the FCU based on pre-configured value. It does not lock it.
uint8_t u8fnFCUEnableConfig (void)
 Launches the configuration loaded into the registers and locks it.
uint8_t u8fnFCUSMStatus (void)
 Returns the value of the FCU State machine.

Detailed Description

Fault Collection Unit driver.

Copyright (C) 2011 Freescale Semiconductor Freescale Confidential Proprietary

Author:
Freescale Semiconductor
SASD Automotive
r11515
Version:
Date:
Warning:
(If needed)

History:


Function Documentation

uint8_t u8fnFCUEnableConfig ( void  )

Launches the configuration loaded into the registers and locks it.

Parameters:
Void
Returns:
CLEAR if configuration takes place, FCU_LOCKED otherwise.
uint8_t u8fnFCUInit ( FCUConfig_t ptMyConfig)

Initializes the FCU based on pre-configured value. It does not lock it.

Parameters:
ptMyConfig,:pointer to complete FCU configuration.
Returns:
CLEAR if configuration takes place, FCU_LOCKED otherwise.
uint8_t u8fnFCUSMStatus ( void  )

Returns the value of the FCU State machine.

Parameters:
Void
Returns:
FCU_IS_IN_INIT, FCU_IS_NORMAL, FCU_IS_ALARMED, or FCU_IS_AT_FAULT